package com.sxbbc.common.core.entity.jz;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;

/**
 * <p>
 * 店铺线下买单评论表
 * </p>
 *
 * @author xiaoky
 * @since 2019-05-27
 */
public class BOfflineEvaluate implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 店铺id
     */
    private Integer bid;

    /**
     * 用户id
     */
    private Integer cid;

    /**
     * 分数
     */
    private BigDecimal score;

    /**
     * 评价内容
     */
    private String content;

    /**
     * 图片逗号分隔
     */
    private String evaluateUrl;

    private Date createTime;
    
    private String payCode;

    /**
     * 评论图片集合
     */
    @TableField(exist = false)
    private List<String> evaluateUrlList;
    /**
     * 用户昵称
     */
    @TableField(exist = false)
    private String CNickName;
    /**
     * 用户头像
     */
    @TableField(exist = false)
    private String CHeadUrl;
    
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    public Integer getBid() {
        return bid;
    }

    public void setBid(Integer bid) {
        this.bid = bid;
    }
    public Integer getCid() {
        return cid;
    }

    public void setCid(Integer cid) {
        this.cid = cid;
    }
    public BigDecimal getScore() {
        return score;
    }

    public void setScore(BigDecimal score) {
        this.score = score;
    }
    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
    public String getEvaluateUrl() {
        return evaluateUrl;
    }

    public void setEvaluateUrl(String evaluateUrl) {
        this.evaluateUrl = evaluateUrl;
    }
    public Date getCreateTime() {
        return createTime;
    }

    public void Date(Date createTime) {
        this.createTime = createTime;
    }

    public String getPayCode() {
		return payCode;
	}

	public void setPayCode(String payCode) {
		this.payCode = payCode;
	}

	public List<String> getEvaluateUrlList() {
		return evaluateUrlList;
	}

	public void setEvaluateUrlList(List<String> evaluateUrlList) {
		this.evaluateUrlList = evaluateUrlList;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public String getCNickName() {
		return CNickName;
	}

	public void setCNickName(String cNickName) {
		CNickName = cNickName;
	}

	public String getCHeadUrl() {
		return CHeadUrl;
	}

	public void setCHeadUrl(String cHeadUrl) {
		CHeadUrl = cHeadUrl;
	}

	@Override
    public String toString() {
        return "BOfflineEvaluate{" +
        "id=" + id +
        ", bid=" + bid +
        ", cid=" + cid +
        ", score=" + score +
        ", content=" + content +
        ", evaluateUrl=" + evaluateUrl +
        ", createTime=" + createTime +
        "}";
    }
}
